import axios from 'axios'
document.querySelector('#btn').addEventListener('click',function(){
  axios({
    url:'http://123.57.109.30:3006/api/getbooks'
  }).then(({data:res})=>{
    console.log(res)
  })
})
import './css/index.css'

import './less/login.less'
import imgObj from './assets/images/1.gif'
const img = document.createElement('img')
img.src = imgObj
document.body.appendChild(img)

const fn = ()=>{
  console.log('我是fn')

}
console.log(fn)